package com.css.zfzx.fxpg.modules.percent.casualty.repository.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 人员伤亡损失比
 *
 * @author leon
 * @date 2020-11-13
 */
@Data
@Entity
@Table(name = "fx_casualty_percent")
public class FxCasualtyPercentEntity implements Serializable {

    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;
    /**
     * 是否有效,0:无效,1:有效
     */
    @Column(name = "is_valid")
    private String isValid;
    /**
     * 省
     */
    @Column(name = "province")
    private String province;
    /**
     * 市
     */
    @Column(name = "city")
    private String city;
    /**
     * 区
     */
    @Column(name = "area")
    private String area;
    /**
     * 破坏程度
     */
    @Column(name = "damage_degree")
    private String damageDegree;
    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    /**
     * 烈度
     */
    @Column(name = "intensity")
    private String intensity;
    /**
     * 修改时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 死亡率
     */
    @Column(name = "death_prercent")
    private String deathPrercent;
    /**
     * 行政区划组合编码+探槽码
     */
    @Column(name = "object_code")
    private String objectCode;
    /**
     * 分区标识
     */
    @Column(name = "partition_flag")
    private String partitionFlag;
    /**
     * 修改人
     */
    @Column(name = "update_user")
    private String updateUser;
    /**
     * 重伤率
     */
    @Column(name = "serious_prercent")
    private String seriousPrercent;

}

